package com.mtf.syncExportExcel.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: export_record
 * @Author: jeecg-boot
 * @Date:   2024-06-24
 * @Version: V1.0
 */
@Data
@TableName("export_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="export_record对象", description="export_record")
public class ExportRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private Integer id;
	/**文件名称*/
	@Excel(name = "文件名称", width = 15)
    @ApiModelProperty(value = "文件名称")
    private String fileName;
	/**进度*/
	@Excel(name = "进度", width = 15)
    @ApiModelProperty(value = "进度")
    private Integer process;
	/**进度状态 选项 1失败；2成功；3进行中；4已过期*/
	@Excel(name = "进度状态 选项 1失败；2成功；3进行中；4已过期", width = 15)
    @ApiModelProperty(value = "进度状态 选项 1失败；2成功；3进行中；4已过期")
    private Integer processStatus;
	/**模块*/
	@Excel(name = "模块", width = 15)
    @ApiModelProperty(value = "模块")
    private String module;
	/**文件大小*/
	@Excel(name = "文件大小", width = 15)
    @ApiModelProperty(value = "文件大小")
    private String fileSize;
	/**文件访问地址*/
	@Excel(name = "文件访问地址", width = 15)
    @ApiModelProperty(value = "文件访问地址")
    private String fileUrl;
	/**失败原因*/
	@Excel(name = "失败原因", width = 15)
    @ApiModelProperty(value = "失败原因")
    private String failureReason;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date createTime;
	/**修改人id*/
    @ApiModelProperty(value = "修改人id")
    private String createBy;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    private String createUsername;
	/**是否有效 0有效，1无效*/
	@Excel(name = "是否有效 0有效，1无效", width = 15)
    @ApiModelProperty(value = "是否有效 0有效，1无效")
    private Integer status;
	/**是否删除 0未删除，1已删除*/
	@Excel(name = "是否删除 0未删除，1已删除", width = 15)
    @ApiModelProperty(value = "是否删除 0未删除，1已删除")
    @TableLogic
    private Integer delFlag;
}
